/* Shoptet Header Styling - Silicon Boulevard Theme */
/* Targeted styling for specific header elements only */

/* Main eshop header with data-testid */
h1[data-testid="eshopHeader"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 700 !important;
    color: #141d2b !important;
    text-align: center !important;
    margin-bottom: 2.5rem !important;
    position: relative !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: -0.025em !important;
    display: block !important;
    visibility: visible !important;
}

/* Add the signature underline accent for eshop header */
h1[data-testid="eshopHeader"]::after {
    content: '' !important;
    position: absolute !important;
    bottom: -0.6rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #4fd1c7, #00b894) !important;
    border-radius: 2px !important;
    display: block !important;
}

/* Homepage product group titles (Novinky, etc.) */
.homepage-group-title.homepage-products-heading-2.h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 700 !important;
    color: #141d2b !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: -0.025em !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Add the signature underline accent for homepage group titles */
.homepage-group-title.homepage-products-heading-2.h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: -0.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #4fd1c7, #00b894) !important;
    border-radius: 2px !important;
    display: block !important;
}

/* Category titles - left aligned */
h1.category-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 700 !important;
    color: #141d2b !important;
    text-align: left !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: -0.025em !important;
    display: block !important;
    visibility: visible !important;
}

/* Add the signature side accent for category titles - vertical line only */
h1.category-title::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -8px !important;
    transform: none !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(180deg, #4fd1c7, #00b894) !important;
    border-radius: 2px !important;
    display: block !important;
}

/* Standalone h4 elements (like "Nejprodávanější") - left aligned and smaller */
/* Exclude footer, custom-footer, and any element with footer in the class name */
h4:not([class]):not([id]):not(.footer-section-1 h4):not(.footer-section-2 h4):not(.footer-section-3 h4):not(.footer-section-4 h4):not(.custom-footer h4):not(footer h4):not([class*="footer"]) {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
    font-weight: 700 !important;
    color: #141d2b !important;
    text-align: left !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: -0.025em !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Add vertical side accent for standalone h4 - side line only */
/* Exclude footer elements */
h4:not([class]):not([id]):not(.footer-section-1 h4):not(.footer-section-2 h4):not(.footer-section-3 h4):not(.footer-section-4 h4):not(.custom-footer h4):not(footer h4):not([class*="footer"])::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -6px !important;
    transform: none !important;
    width: 3px !important;
    height: 100% !important;
    background: linear-gradient(180deg, #4fd1c7, #00b894) !important;
    border-radius: 2px !important;
    display: block !important;
}

/* Hover effects for all targeted elements - exclude footer elements */
h1[data-testid="eshopHeader"]:hover,
.homepage-group-title.homepage-products-heading-2.h4:hover,
h1.category-title:hover,
h4:not([class]):not([id]):not(.footer-section-1 h4):not(.footer-section-2 h4):not(.footer-section-3 h4):not(.footer-section-4 h4):not(.custom-footer h4):not(footer h4):not([class*="footer"]):hover {
    color: #4fd1c7 !important;
    transition: color 0.3s ease !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    h1[data-testid="eshopHeader"],
    .homepage-group-title.homepage-products-heading-2.h4,
    h1.category-title,
    h4:not([class]):not([id]) {
        margin-bottom: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    h1[data-testid="eshopHeader"]::after {
        width: 40px !important;
        height: 3px !important;
    }
    
    .homepage-group-title.homepage-products-heading-2.h4::after {
        width: 30px !important;
        height: 2px !important;
    }
    
    h1.category-title::after {
        width: 35px !important;
        height: 2px !important;
    }
    
    h4:not([class]):not([id])::after {
        width: 25px !important;
        height: 2px !important;
    }
}

@media (max-width: 480px) {
    h1[data-testid="eshopHeader"],
    .homepage-group-title.homepage-products-heading-2.h4,
    h1.category-title,
    h4:not([class]):not([id]) {
        margin-bottom: 1rem !important;
        padding: 0 0.5rem !important;
    }
}